﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.AccountsDomain;
using System.ComponentModel.DataAnnotations;
using ShivamEMR.Model.Domain.AssetsDomain;

namespace ShivamEMR.Model.Domain.AccountsDomain
{
  public  class Depreciation
    {
        #region Properties
        public int ID { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public double Persentage { get; set; }
        public string Notes { get; set; } 
        #endregion

        public int? AccountGroupID { get; set; }

        #region NavigationalProperties
        public virtual ICollection<Account> Accounts { get; set; }      
        [ForeignKey("AccountGroupID")]
        public virtual AccountGroup AccountGroup { get; set; }

        public virtual ICollection<Asset> Assets { get; set; }
        #endregion


    }
}
